package com.xiaobai.data.mapper.system;

import com.xiaobai.model.entity.system.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-08-10
 */
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 通过用户的id查询对应菜单权限数据
     * @param id
     * @return
     */
    List<Menu> getMenuListByUserId(Long id);

}
